﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity.ModelConfiguration;

namespace CubicFWNet.Data.Models.Mapping
{
    public class PageTaskMap : EntityTypeConfiguration<PageTask>
    {
        public PageTaskMap()
        {
            this.HasKey(t => t.Id);

            this.ToTable("PageTask");
            this.Property(t => t.Id).HasColumnName("Id");
            this.Property(t => t.PageID).HasColumnName("PageID");
            this.Property(t => t.TaskID).HasColumnName("TaskID");
        }
    }
}
